#ifndef IPLIST_H
#define IPLIST_H

#include "ml20gui.h"
#include "list.h"

typedef struct iplist_s {
    uint16_t id;
    uint16_t length;
    uint8_t *data;
    uint8_t *data_finished;
    uint32_t lasttick;
} iplist_t, *iplist_p;

iplist_p iplist_add( uint16_t id );
int iplist_rem( list_p list );
iplist_p iplist_find( uint16_t id );
list_p iplist_list( uint16_t id );
void iplist_clean( void );

#endif
